package com.busines.pojo.xunting;

import java.io.Serializable;

public class TStudent implements Serializable {
    private Integer studentNo;

    private Integer schoolNo;

    private String studentName;

    private String studentAddress;

    private String birthdate;

    private String phone;

    private static final long serialVersionUID = 1L;

    public Integer getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(Integer studentNo) {
        this.studentNo = studentNo;
    }

    public Integer getSchoolNo() {
        return schoolNo;
    }

    public void setSchoolNo(Integer schoolNo) {
        this.schoolNo = schoolNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName == null ? null : studentName.trim();
    }

    public String getStudentAddress() {
        return studentAddress;
    }

    public void setStudentAddress(String studentAddress) {
        this.studentAddress = studentAddress == null ? null : studentAddress.trim();
    }

    public String getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate == null ? null : birthdate.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", studentNo=").append(studentNo);
        sb.append(", schoolNo=").append(schoolNo);
        sb.append(", studentName=").append(studentName);
        sb.append(", studentAddress=").append(studentAddress);
        sb.append(", birthdate=").append(birthdate);
        sb.append(", phone=").append(phone);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}